<%--

  Created by IntelliJ IDEA.
  User: lenovo
  Date: 2022/3/5
  Time: 16:48
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>our school</title>
    <link rel="stylesheet" href="../css/school.css">
    <script src="../js/jquery.js"></script>
    <script src="../js/common.js"></script>
</head>
<body>
<div>
    <jsp:include page="header.jsp"></jsp:include>
    <div class="medol">
        <div>
            <div>
                <div onclick="location.href='/about'"></div>
                <div>
                    <div>
                        <div>
                            <div>
                                <div>勤奋</div>
                                <div>·</div>
                                <div>求实</div>
                                <div>·</div>
                                <div>进取</div>
                                <div>·</div>
                                <div>创造</div>
                            </div>
                            <div>
                                <div>
                                    <div>教育的伟大目标不只是饰而是训练心灵,</div>
                                    <div>使具备有用的能力而非填塞前人经验的累积</div>
                                </div>
                            </div>
                            <div>
                                <div>
                                    <div>
                                        <c:forEach items="${navList}" var="navList" begin="5" end="5">
                                            <div onclick="location.href='${navList.herf}'">${navList.title}</div>
                                        </c:forEach>
                                    </div>
                                </div>
                                <div>
                                    <div>
                                        <div onclick="location.href='/booking'">帮我们留言</div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div>
                <div class="title">
                    <div>
                        <c:forEach items="${schoolCurriculumModels}" var="schoolCurriculumModel">
                            <div>
                                <img src="${schoolCurriculumModel.picture}"/>
                                <div>
                                    <div>${schoolCurriculumModel.text}</div>
                                </div>
                            </div>
                        </c:forEach>
                        <div>
                            <div></div>
                            <div>
                                <div>+</div>
                            </div>
                        </div>
                    </div>
                    <div>
                        <div>
                            <div>
                                <div>
                                    <div>
                                        <div>
                                            <div>HOT</div>
                                        </div>
                                        <div>
                                            <div>
                                                <div></div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div>
                                    <c:forEach items="${schoolServerModels}" var="schoolServerModels" begin="0" end="0">
                                        <div>${schoolServerModels.title1}</div>
                                    </c:forEach>
                                </div>
                                <div>
                                    <c:forEach items="${schoolServerModels}" var="schoolServerModels" begin="0" end="0" >
                                        <div onclick="location.href='${schoolServerModels.herf}'">${schoolServerModels.read}</div>
                                    </c:forEach>
                                </div>
                            </div>
                            <div>
                                <c:forEach items="${schoolServerModels}" var="schoolServerModels">
                                    <div>
                                        <div>
                                            <div>
                                                <div><img src="${schoolServerModels.picture}"/></div>
                                            </div>
                                        </div>
                                        <div>
                                            <div>${schoolServerModels.title2}</div>
                                            <div>
                                                <div>${schoolServerModels.text}</div>
                                            </div>
                                        </div>
                                    </div>
                                </c:forEach>
                            </div>
                        </div>
                    </div>
                    <div>
                        <div>
                            <div>
                                <div>
                                    <c:forEach items="${schoolAboutModels}" var="schoolAboutModel" begin="0" end="0">
                                        <div>${schoolAboutModel.title}</div>
                                        <div>${schoolAboutModel.title2}</div>
                                    </c:forEach>
                                </div>
                            </div>
                        </div>
                        <div>
                            <div>
                                <div>
                                    <c:forEach items="${schoolAboutModels}" var="schoolAboutModel" begin="0" end="0">
                                    <div><img src="${schoolAboutModel.picture}"/></div>
                                    </c:forEach>
                                </div>
                                <div>
                                    <c:forEach items="${schoolAboutModels}" var="schoolAboutModel" begin="0" end="0">
                                    <div>${schoolAboutModel.text}</div>
                                    </c:forEach>
                                </div>
                            </div>
                            <div>
                                <c:forEach items="${schoolAboutModels}" var="schoolAboutModel" begin="1" end="1">
                                <div>${schoolAboutModel.text}</div>
                                </c:forEach>
                            </div>
                        </div>
                        <div>
                            <c:forEach items="${schoolServerModels}" var="schoolServerModel" begin="0" end="0">
                            <div onclick="location.href='${schoolServerModel.herf}'">${schoolServerModel.read}</div>
                            </c:forEach>
                        </div>
                    </div>
                </div>
            </div>
            <div class="medol-foot">
                <div>
                    <div>
                        <c:forEach items="${schoolTitleModels}" var="schoolTitleModel" begin="0" end="0">
                            <div>
                                <div>
                                    <div>${schoolTitleModel.title1}</div>
                                    <div>${schoolTitleModel.title2}</div>
                                </div>
                                <div onclick="location.href='${schoolTitleModel.herf}'">${schoolTitleModel.read}</div>
                            </div>
                        </c:forEach>
                        <div>
                            <c:forEach items="#{conpanyIdeaModels}" var="conpanyIdeaModel">
                                <div>
                                    <div>
                                        <div><img src="${conpanyIdeaModel.picture}"/></div>
                                    </div>
                                    <div>${conpanyIdeaModel.title}</div>
                                    <div>${conpanyIdeaModel.text}</div>
                                </div>
                            </c:forEach>
                        </div>
                    </div>
                    <div>
                        <c:forEach items="${schoolTitleModels}" var="schoolTitleModel" begin="1" end="1">
                            <div>
                                <div>
                                    <div>${schoolTitleModel.title1}</div>
                                    <div>${schoolTitleModel.title2}</div>
                                </div>
                                <div onclick="location.href='${schoolTitleModel.herf}'">${schoolTitleModel.read}</div>
                            </div>
                        </c:forEach>
                        <div>
                            <div>
                                <div>
                                    <div>
                                        <c:forEach items="${schoolNewsModels}" var="schoolNewsModel" begin="0" end="2">
                                            <div onclick="location.href ='${schoolNewsModel.herf}'">${schoolNewsModel.title}</div>
                                        </c:forEach>
                                    </div>
                                </div>
                                <div>
                                    <c:forEach items="${schoolNewsModels}" var="schoolNewsModel">
                                    <div>
                                        <div onclick="location.href ='${schoolNewsModel.herf}'" title="${schoolNewsModel.news}">${schoolNewsModel.news}"</div>
                                        <div>${schoolNewsModel.time}</div>
                                    </div>
                                    </c:forEach>
                                </div>
                            </div>
                            <div>
                                <div>
                                    <c:forEach items="${schoolNewsModels}" var="schoolNewsModel" begin="0" end="0">
                                        <div onclick="location.href='${schoolNewsModel.herf}'"><img src="${schoolNewsModel.picture}" style="background-size: 100% 80%"></div>
                                    </c:forEach>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div>
                        <c:forEach items="${schoolTitleModels}" var="schoolTitleModel" begin="2" end="2">
                            <div>
                                <div>
                                    <div>${schoolTitleModel.title1}</div>
                                    <div>${schoolTitleModel.title2}</div>
                                </div>
                                <div onclick="location.href='${schoolTitleModel.herf}'">${schoolTitleModel.read}</div>
                            </div>
                        </c:forEach>
                        <div>
                            <div>
                                <div>
                                    <c:forEach items="${schoolContacModels}" var="schoolContacModel" begin="0" end="0">
                                    <div><img src="${schoolContacModel.titlePicture}"></div>
                                    </c:forEach>
                                </div>
                            </div>
                            <div>
                                <c:forEach items="${schoolContacModels}" var="schoolContacModel">
                                <div>
                                    <div><img src="${schoolContacModel.logoPicture}"/></div>
                                    <div>${schoolContacModel.text}</div>
                                </div>
                                </c:forEach>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <jsp:include page="foot.jsp"></jsp:include>
</div>
</body>
</html>
